﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Domain.BomManage
{
    /// <summary>
    /// 产品主数据
    /// </summary>
    [Table("Product")]
    public class Product : BaseEntity
    {
        /// <summary>
        /// 产品编码 
        /// </summary>
        public string Code { get; set; } = string.Empty;

        /// <summary>
        /// 产品名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 型号/规格
        /// </summary>
        public string? Model { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }
    }
}
